Combo Backtest 123 Reversal & (H-L)/C Histogram This is combo strategies for get
a cumulative signal. Result signal will return 1 if two strategies
is long, -1 if all strategies is short and 0 if signals of strategies is not equal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This histogram displays (high-low)/close
Can be applied to any time frame.
WARNING:
- For purpose educate only
- This script to change bars colors.
Komut dosyalarını "the strat" için ara
Combo Backtest 123 Reversal & Bandpass FilterThis is combo strategies for get
a cumulative signal. Result signal will return 1 if two strategies
is long, -1 if all strategies is short and 0 if signals of strategies is not equal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The related article is copyrighted material from
Stocks & Commodities Mar 2010
You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Backtest 123 Reversal & Average True Range Trailing Stops This is combo strategies for get
a cumulative signal. Result signal will return 1 if two strategies
is long, -1 if all strategies is short and 0 if signals of strategies is not equal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Secon strategy
Average True Range Trailing Stops Strategy, by Sylvain Vervoort
The related article is copyrighted material from Stocks & Commodities Jun 2009
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Backtest 123 Reversal and ADXR This is combo strategies for get
a cumulative signal. Result signal will return 1 if two strategies
is long, -1 if all strategies is short and 0 if signals of strategies is not equal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Secon strategy
The Average Directional Movement Index Rating (ADXR) measures the strength
of the Average Directional Movement Index (ADX). It's calculated by taking
the average of the current ADX and the ADX from one time period before
(time periods can vary, but the most typical period used is 14 days).
Like the ADX, the ADXR ranges from values of 0 to 100 and reflects strengthening
and weakening trends. However, because it represents an average of ADX, values
don't fluctuate as dramatically and some analysts believe the indicator helps
better display trends in volatile markets.
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Backtest 123 Reversal and Accelerator Oscillator (AC) This is combo strategies for get
a cumulative signal. Result signal will return 1 if two strategies
is long, -1 if all strategies is short and 0 if signals of strategies is not equal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The Accelerator Oscillator has been developed by Bill Williams
as the development of the Awesome Oscillator. It represents the
difference between the Awesome Oscillator and the 5-period moving
average, and as such it shows the speed of change of the Awesome
Oscillator, which can be useful to find trend reversals before the
Awesome Oscillator does.
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Backtest 123 Reversal and Absolute Price Oscillator (APO) This is combo strategies for get
a cumulative signal. Result signal will return 1 if two strategies
is long, -1 if all strategies is short and 0 if signals of strategies is not equal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Secon strategy
The Absolute Price Oscillator displays the difference between two exponential
moving averages of a security's price and is expressed as an absolute value.
How this indicator works
APO crossing above zero is considered bullish, while crossing below zero is bearish.
A positive indicator value indicates an upward movement, while negative readings
signal a downward trend.
Divergences form when a new high or low in price is not confirmed by the Absolute Price
Oscillator (APO). A bullish divergence forms when price make a lower low, but the APO
forms a higher low. This indicates less downward momentum that could foreshadow a bullish
reversal. A bearish divergence forms when price makes a higher high, but the APO forms a
lower high. This shows less upward momentum that could foreshadow a bearish reversal.
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Strategies 123 Reversal and 3-Bar-Reversal-Pattern This is combo strategies for get
a cumulative signal. Result signal will return 1 if two strategies
is long, -1 if all strategies is short and 0 if signals of strategies is not equal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Secon strategy
This startegy based on 3-day pattern reversal described in "Are Three-Bar
Patterns Reliable For Stocks" article by Thomas Bulkowski, presented in
January,2000 issue of Stocks&Commodities magazine.
That pattern conforms to the following rules:
- It uses daily prices, not intraday or weekly prices;
- The middle day of the three-day pattern has the lowest low of the three days, with no ties allowed;
- The last day must have a close above the prior day's high, with no ties allowed;
- Each day must have a nonzero trading range.
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Backtest 123 Reversal and 2/20 EMA This is combo strategies for get
a cumulative signal. Result signal will return 1 if two strategies
is long, -1 if all strategies is short and 0 if signals of strategies is not equal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Secon strategy
This indicator plots 2/20 exponential moving average. For the Mov
Avg X 2/20 Indicator, the EMA bar will be painted when the Alert criteria is met.
Please, use it only for learning or paper trading. Do not for real trading.
WARNING:
- For purpose educate only
- This script to change bars colors.
XPloRR MA-Trailing-Stop StrategyXPloRR MA-Trailing-Stop Strategy
Long term MA-Trailing-Stop strategy with Adjustable Signal Strength to beat Buy&Hold strategy
None of the strategies that I tested can beat the long term Buy&Hold strategy. That's the reason why I wrote this strategy.
Purpose: beat Buy&Hold strategy with around 10 trades. 100% capitalize sold trade into new trade.
My buy strategy is triggered by the fast buy EMA (blue) crossing over the slow buy SMA curve (orange) and the fast buy EMA has a certain up strength.
My sell strategy is triggered by either one of these conditions:
the EMA(6) of the close value is crossing under the trailing stop value (green) or
the fast sell EMA (navy) is crossing under the slow sell SMA curve (red) and the fast sell EMA has a certain down strength.
The trailing stop value (green) is set to a multiple of the ATR(15) value.
ATR(15) is the SMA(15) value of the difference between the high and low values.
The scripts shows a lot of graphical information:
The close value is shown in light-green. When the close value is lower then the buy value, the close value is shown in light-red. This way it is possible to evaluate the virtual losses during the trade.
the trailing stop value is shown in dark-green. When the sell value is lower then the buy value, the last color of the trade will be red (best viewed when zoomed)(in the example, there are 2 trades that end in gain and 2 in loss (red line at end))
the EMA and SMA values for both buy and sell signals are shown as a line
the buy and sell(close) signals are labeled in blue
How to use this strategy?
Every stock has it's own "DNA", so first thing to do is tune the right parameters to get the best strategy values voor EMA , SMA, Strength for both buy and sell and the Trailing Stop (#ATR).
Look in the strategy tester overview to optimize the values Percent Profitable and Net Profit (using the strategy settings icon, you can increase/decrease the parameters)
Then keep using these parameters for future buy/sell signals only for that particular stock.
Do the same for other stocks.
Important : optimizing these parameters is no guarantee for future winning trades!
Here are the parameters:
Fast EMA Buy: buy trigger when Fast EMA Buy crosses over the Slow SMA Buy value (use values between 10-20)
Slow SMA Buy: buy trigger when Fast EMA Buy crosses over the Slow SMA Buy value (use values between 30-100)
Minimum Buy Strength: minimum upward trend value of the Fast SMA Buy value (directional coefficient)(use values between 0-120)
Fast EMA Sell: sell trigger when Fast EMA Sell crosses under the Slow SMA Sell value (use values between 10-20)
Slow SMA Sell: sell trigger when Fast EMA Sell crosses under the Slow SMA Sell value (use values between 30-100)
Minimum Sell Strength: minimum downward trend value of the Fast SMA Sell value (directional coefficient)(use values between 0-120)
Trailing Stop (#ATR): the trailing stop value as a multiple of the ATR(15) value (use values between 2-20)
Example parameters for different stocks (Start capital: 1000, Order=100% of equity, Period 1/1/2005 to now) compared to the Buy&Hold Strategy(=do nothing):
BEKB(Bekaert): EMA-Buy=12, SMA-Buy=44, Strength-Buy=65, EMA-Sell=12, SMA-Sell=55, Strength-Sell=120, Stop#ATR=20
NetProfit: 996%, #Trades: 6, %Profitable: 83%, Buy&HoldProfit: 78%
BAR(Barco): EMA-Buy=16, SMA-Buy=80, Strength-Buy=44, EMA-Sell=12, SMA-Sell=45, Strength-Sell=82, Stop#ATR=9
NetProfit: 385%, #Trades: 7, %Profitable: 71%, Buy&HoldProfit: 55%
AAPL(Apple): EMA-Buy=12, SMA-Buy=45, Strength-Buy=40, EMA-Sell=19, SMA-Sell=45, Strength-Sell=106, Stop#ATR=8
NetProfit: 6900%, #Trades: 7, %Profitable: 71%, Buy&HoldProfit: 2938%
TNET(Telenet): EMA-Buy=12, SMA-Buy=45, Strength-Buy=27, EMA-Sell=19, SMA-Sell=45, Strength-Sell=70, Stop#ATR=14
NetProfit: 129%, #Trade
XPloRR MA-Buy ATR-Trailing-Stop Long Term Strategy Beating B&HXPloRR MA-Buy ATR-MA-Trailing-Stop Strategy
Long term MA Trailing Stop strategy to beat Buy&Hold strategy
None of the strategies that I tested can beat the long term Buy&Hold strategy. That's the reason why I wrote this strategy.
Purpose: beat Buy&Hold strategy with around 10 trades. 100% capitalize sold trade into new trade.
My buy strategy is triggered by the EMA(blue) crossing over the SMA curve(orange).
My sell strategy is triggered by another EMA(lime) of the close value crossing the trailing stop(green) value.
The trailing stop value(green) is set to a multiple of the ATR(15) value.
ATR(15) is the SMA(15) value of the difference between high and low values.
Every stock has it's own "DNA", so first thing to do is find the right parameters to get the best strategy values voor EMA, SMA and Trailing Stop.
Then keep using these parameter for future buy/sell signals only for that particular stock.
Do the same for other stocks.
Here are the parameters:
Exponential MA: buy trigger when crossing over the SMA value (use values between 11-50)
Simple MA: buy trigger when EMA crosses over the SMA value (use values between 20 and 200)
Stop EMA: sell trigger when Stop EMA of close value crosses under the trailing stop value (use values between 8 and 16)
Trailing Stop #ATR: defines the trailing stop value as a multiple of the ATR(15) value
Example parameters for different stocks (Start capital: 1000, Order=100% of equity, Period 1/1/2005 to now):
BAR(Barco): EMA=11, SMA=82, StopEMA=12, Stop#ATR=9
Buy&HoldProfit: 45.82%, NetProfit: 294.7%, #Trades:8, %Profit:62.5%, ProfitFactor: 12.539
AAPL(Apple): EMA=12, SMA=45, StopEMA=12, Stop#ATR=6
Buy&HoldProfit: 2925.86%, NetProfit: 4035.92%, #Trades:10, %Profit:60%, ProfitFactor: 6.36
BEKB(Bekaert): EMA=12, SMA=42, StopEMA=12, Stop#ATR=7
Buy&HoldProfit: 81.11%, NetProfit: 521.37%, #Trades:10, %Profit:60%, ProfitFactor: 2.617
SOLB(Solvay): EMA=12, SMA=63, StopEMA=11, Stop#ATR=8
Buy&HoldProfit: 43.61%, NetProfit: 151.4%, #Trades:8, %Profit:75%, ProfitFactor: 3.794
PHIA(Philips): EMA=11, SMA=80, StopEMA=8, Stop#ATR=10
Buy&HoldProfit: 56.79%, NetProfit: 198.46%, #Trades:6, %Profit:83.33%, ProfitFactor: 23.07
I am very curious to see the parameters for your stocks and please make suggestions to improve this strategy.
200 SMA (5%/-3% Buffer) for SPY & QQQ In my testing TQQQ is an absolute monster of an ETF that performs extremely well even from a buy and hold standpoint over long periods of time, its largest drawback is the massive drawdown exposure that it faces which can be easily sidestepped with this strategy.
This strategy is meant to basically abuse TQQQ's insane outperformance while augmenting the typical 200SMA strategy in a way that uses all of its strengths while avoiding getting whipsawed in sideways markets.
The strategy BUYS when price crosses 5% over the 200SMA and then SELLS when price drops 3% below the 200SMA. Between trades I'll be parking my entire account in SGOV.
So maximizing profit while minimizing risk.
You use the strategy based off of QQQ and then make the trades on TQQQ when it tells you to BUY/SELL.
Here are some reasons why I will be using this strategy:
Simple emotionless BUY and SELL signals where I don't care who the president is, what is happening in the world, who is bombing who, who the leadership team is, no attachment to individual companies and diversified across the NASDAQ.
~85% win percentage and when it does lose the loses are nothing compared to the wins and after a loss you're basically set up for a massive win in the next trade.
Max drawdown of around 53% when using TQQQ
You benefit massively when the market is doing well and when there is a recession you basically sit in SGOV for a year and then are set up for a monster recovery with a clear easy BUY signal. So as long as you're patient you win regardless of what happens.
The trades are often very long term resulting in you taking advantage of Long Term Capital Gains tax advantage which could mean saving up to 15-20% in taxes.
With only a few trades you can spend time doing other stuff and don't have to track or pay attention to anything that is happening.
Simple, easy, and massively profitable.
US Index First Candle Breakout with FVGStrategy Description: US Index First Candle Breakout with FVG
Works on NG1! and YM1! for maximised profit.
Overview:
The "US Index First Candle Breakout with FVG" strategy is designed to capitalize on the volatility present during the first minutes of the U.S. stock market opening. By focusing on the initial 5-minute candle, this strategy identifies key price levels that can serve as breakout points for potential trading opportunities.
Key Features:
1. Breakout Strategy:
The strategy tracks the high and low of the first 5-minute candle after the market opens at 9:30 AM (New York time). These levels are critical indicators for potential price movements.
A long position is triggered when the price breaks above the high of the first candle, while a short position is initiated when the price drops below the low.
2. Manual Trade Direction Filter: (developing)
Users can select their preferred trading direction through a customizable input:
Buy only: Execute long trades only.
Sell only: Execute short trades only.
Both: Allow trades in both directions.
This feature enables traders to align the strategy with their market outlook and risk tolerance.
3. Fair Value Gap (FVG) Analysis:
The strategy incorporates an FVG filter to enhance trade precision. It assesses market gaps to identify whether a breakout is supported by underlying market dynamics.
The algorithm checks for conditions that indicate a valid breakout based on previous price action, ensuring that trades are made on strong signals.
4. Risk Management:
A customizable risk per trade setting allows users to define their risk tolerance in ticks.
The strategy includes a reward-to-risk ratio input, enabling traders to set their take-profit levels based on their risk preferences.
Stop-loss levels are automatically calculated based on the breakout direction, helping to safeguard against unexpected price movements.
5. Automatic Trade Execution:
Trades are executed automatically based on the defined conditions, reducing the need for manual intervention and allowing traders to capitalize on market movements in real-time.
Session End Closure:
The strategy automatically closes all open positions at 4:00 PM (New York time), ensuring that trades do not carry overnight risk.
How to Use the Strategy:
Simply add the script to your TradingView chart, set your desired parameters, and select your preferred trade direction.
Monitor for breakout signals during the first trading session, and let the automated system handle trade entries and exits based on your specifications.
Conclusion:
The "US Index First Candle Breakout with FVG" strategy is ideal for traders seeking to leverage early market volatility with a structured approach. By combining breakout techniques with FVG analysis and customizable trade direction, this strategy offers a robust framework for navigating the complexities of the U.S. stock market's opening dynamics.
Intraday Momentum StrategyExplanation of the StrategyIndicators:Fast and Slow EMA: A crossover of the 9-period EMA over the 21-period EMA signals a bullish trend (long entry), while a crossunder signals a bearish trend (short entry).
RSI: Ensures entries are not in overbought (RSI > 70) or oversold (RSI < 30) conditions to avoid reversals.
VWAP: Acts as a dynamic support/resistance. Long entries require the price to be above VWAP, and short entries require it to be below.
Trading Session:The strategy only trades during a user-defined session (e.g., 9:30 AM to 3:45 PM, typical for US markets).
All positions are closed at the session end to avoid overnight risk.
Risk Management:Stop Loss: 1% below/above the entry price for long/short positions.
Take Profit: 2% above/below the entry price for long/short positions.
These can be adjusted via inputs for optimization.
Position Sizing:Fixed lot size of 1 for simplicity. Adjust based on your account size during backtesting.
PRO Investing - Quant AlphaCentauri D |XLF|PRO Investing - Quant AlphaCentauri D |XLF|
1. Summary and Core Concept
This is a quantitative backtesting strategy engineered specifically for the Financial Select Sector SPDR Fund (XLF) on the Daily (1D) timeframe. The name "AlphaCentauri" reflects its goal: to seek alpha by identifying statistically significant opportunities through rigorous time series analysis.
The strategy's core principle is to move beyond conventional technical indicators and instead analyze the underlying structure and character of price data. It is designed to methodically identify conditions that have historically preceded sustained directional trends in the financial sector.
2. The Analytical Process: How It Works
This strategy employs a multi-stage quantitative process to filter for high-probability setups. It is a "mashup" of statistical concepts applied to price action.
Structural Pattern Recognition: The engine's primary function is to analyze the historical price series of XLF to identify specific, recurring structural patterns. It examines price geometry and cyclical behavior to find formations that often act as the foundation for a new, emerging trend.
Signal Execution: A signal to enter a trade is only generated when the findings from both the structural analysis and the validation stages are in agreement. This disciplined, multi-layered approach ensures the strategy remains flat during periods of high uncertainty and only engages when its quantitative criteria are fully met.
3. How to Use This Strategy
Timeframe: This strategy has been designed, tested, and optimized exclusively for the Daily (1D) timeframe on the XLF ticker. Its logic is not intended for other timeframes or assets and may produce unreliable results if used differently.
On-Chart Signals: The strategy's operation is transparent. It plots all historical buy and sell entries, along with their corresponding exits, directly on the chart for easy performance review and analysis.
4. Risk Management: The Strategy's Foundation
This strategy is built upon a foundation of strict, non-negotiable risk management, which is reflected in its code and backtesting parameters. This design complies with TradingView's guidelines for publishing realistic and responsible strategies.
Dynamic Stop-Loss and Position Sizing: A stop-loss is dynamically calculated for each trade based on recent market volatility. The strategy then automatically adjusts the position size for that trade to target a defined risk percentage. In cases of extreme market volatility, the maximum potential loss on a single trade may approach, but is designed not to exceed, 5% of total account equity. Under normal market conditions, the risk for most trades will be below this maximum threshold.
Realistic Backtesting Parameters:
Initial Capital: The backtest defaults to an initial capital of $100,000.
Commission: A realistic fee of $5.00 per order is included to simulate broker costs.
5. Disclaimer
This strategy is an educational tool provided for informational and research purposes. It is not financial advice. All trading carries a high level of risk, and past performance is not a guarantee of future results. You are solely responsible for your own trading decisions and risk management. Always conduct your own due diligence before deploying any trading strategy in a live account.
Strategy Chameleon [theUltimator5]Have you ever looked at an indicator and wondered to yourself "Is this indicator actually profitable?" Well now you can test it out for yourself with the Strategy Chameleon!
Strategy Chameleon is a versatile, signal-agnostic trading strategy designed to adapt to any external indicator or trading system. Like a chameleon changes colors to match its environment, this strategy adapts to match any buy/sell signals you provide, making it the ultimate backtesting and automation tool for traders who want to test multiple strategies without rewriting code.
🎯 Key Features
1) Connects ANY external indicator's buy/sell signals
Works with RSI, MACD, moving averages, custom indicators, or any Pine Script output
Simply connect your indicator's signal output to the strategy inputs
2) Multiple Stop Loss Types:
Percentage-based stops
ATR (Average True Range) dynamic stops
Fixed point stops
3) Advanced Trailing Stop System:
Percentage trailing
ATR-based trailing
Fixed point trailing
4) Flexible Take Profit Options:
Risk:Reward ratio targeting
Percentage-based profits
ATR-based profits
Fixed point profits
5) Trading Direction Control
Long Only - Bull market strategies
Short Only - Bear market strategies
Both - Full market strategies
6) Time-Based Filtering
Optional trading session restrictions
Customize active trading hours
Perfect for day trading strategies
📈 How It Works
Signal Detection: The strategy monitors your connected buy/sell signals
Entry Logic: Executes trades when signals trigger during valid time periods
Risk Management: Automatically applies your chosen stop loss and take profit levels
Trailing System: Dynamically adjusts stops to lock in profits
Performance Tracking: Real-time statistics table showing win rate and performance
⚙️ Setup Instructions
0) Add indicator you want to test, then add the Strategy to your chart
Connect Your Signals:
imgur.com
Go to strategy settings → Signal Sources
1) Set "Buy Signal Source" to your indicator's buy output
2) Set "Sell Signal Source" to your indicator's sell output
3) Choose table position - This simply changes the table location on the screen
4) Set trading direction preference - Buy only? Sell only? Both directions?
imgur.com
5) Set your preferred stop loss type and level
You can set the stop loss to be either percentage based or ATR and fully configurable.
6) Enable trailing stops if desired
imgur.com
7) Configure take profit settings
8) Toggle time filter to only consider specific time windows or trading sessions.
🚀 Use Cases
Test various indicators to determine feasibility and/or profitability.
Compare different signal sources quickly
Validate trading ideas with consistent risk management
Portfolio Management
Apply uniform risk management across different strategies
Standardize stop loss and take profit rules
Monitor performance consistently
Automation Ready
Built-in alert conditions for automated trading
Compatible with trading bots and webhooks
Easy integration with external systems
⚠️ Important Notes
This strategy requires external signals to function
Default settings use 10% of equity per trade
Pyramiding is disabled (one position at a time)
Strategy calculates on bar close, not every tick
🔗 Integration Examples
Works perfectly with:
RSI strategies (connect RSI > 70 for sells, RSI < 30 for buys)
Moving average crossovers
MACD signal line crosses
Bollinger Band strategies
Custom oscillators and indicators
Multi-timeframe strategies
📋 Default Settings
Position Size: 10% of equity
Stop Loss: 2% percentage-based
Trailing Stop: 1.5% percentage-based (enabled)
Take Profit: Disabled (optional)
Trade Direction: Both long and short
Time Filter: Disabled
Vortex Hunter X - Strategy | SUI Signal (Binance)⚙️ Vortex Hunter X - Strategy | SUI Signal (Binance)
🚨 To test the strategy and get more guidance, contact me via my communication channels! 🚨
👉 For more details, please refer to the contact sections in my profile.
This strategy is designed for executing trades on the SUI/USDT pair in the Futures market on Binance and on the TradingView platform. However, trades can be executed on any preferred exchange.
💡 This strategy is perfectly optimized and configured, and requires no additional settings!
All parameters and settings are pre-optimized, and you just need to follow the instructions to run the strategy.
For each position:
Target (TP): Exactly 4% profit
Stop Loss (SL): Exactly 2% loss
These values are fixed in the code (not dynamic).
🔎 Signal Accuracy | No Repainting
Signals are completely non-repainting; once a signal is issued, it does not change.
Backtesting and live execution on TradingView are exactly the same, demonstrating the high reliability of the strategy.
🔁 Note about Replay Mode
In Replay mode on TradingView, there may be discrepancies compared to live execution or backtesting.
These differences arise due to how data is processed in Replay mode and the limitation of some filters accessing past data.
✅ However, this is NOT a sign of repainting;
Signals in live mode and backtesting are issued exactly the same without any difference.
🔄 Important Note: Correct Script Loading
Due to complex logic and multi-layer filters, sometimes browser cache may prevent the script from fully loading.
✅ To ensure accurate performance:
Before first run and every few days:
Clear your browser cache
Or use Ctrl + F5 for a full refresh.
⚠️ Important Usage Notes
This strategy is designed ONLY for the following conditions:
Symbol: SUIUSDT
Exchange: Binance
Market: Futures
Timeframe: 3 minutes (3m)
Chart Type: Candlestick (Candles)
To receive valid signals, be sure to run it only on the SUIUSDT chart (Futures | 3m | Binance | Standard Candles) on TradingView.
⚠️ Critical and Important Note:
Signals are valid ONLY on the above chart and settings on TradingView.
However, you can execute real trades on any preferred exchange (Binance, Bybit, OKX, etc.)!
⚡️ Signal generation must be done only on TradingView with exact settings,
but order execution and trading have no restrictions on the exchange used.
⚠️ Running the strategy on wrong symbol or timeframe will lead to incorrect signals.
✅ Strategy execution and signal reception must be done exactly with the above settings on TradingView, but trades can be executed on different exchanges.
ℹ️ Strategy Naming Convention
The currency name is clearly stated in each strategy name:
Vortex Hunter X - Strategy | SUI Signal (Binance) → for SUI
Vortex Hunter X - Strategy | PEPE Signal (Binance) → for PEPE
📌 Currently, this strategy is active for the following two pairs:
SUIUSDT (Futures – Binance)
PEPEUSDT (Futures – Binance)
🪙 By purchasing one subscription, you will have access to both versions.
🚀 New currencies will be added soon and subscribers will have access to future versions.
✅ Settings Summary
🔧 Required settings on TradingView (by user):
⏱️ Timeframe: 3 minutes
📈 Chart Type: Candlestick (Candles)
🧪 Market: Futures – Symbol: SUIUSDT – Exchange: Binance
⚠️ Final and Important Note:
Due to the use of complex logic and multi-layer filters in this strategy, sometimes the number of signals, performance stats, or other details may not display correctly. These changes may be caused by issues like browser cache or incomplete page loading, which prevent accurate data display.
✅ If you notice such an issue, please follow these steps:
Remove the strategy from the chart
Completely close the browser
Reopen the browser and go back to TradingView
Refresh the page fully using Ctrl + F5
Apply the strategy to the chart again
This method ensures all data and filters load correctly and full information is displayed.
❗️ Note: This issue is NOT related to repainting. Signals remain fixed and unchanged; sometimes they may display incorrectly due to cache or incomplete loading.
Multi-Pair Matrix📊 Multi-Pair Matrix — Strategy Overview
This invite-only strategy works across five major crypto pairs: BTC, ETH, XRP, DOT, and SOL. It combines multiple confirmation signals and risk-management tools into one unified script.
🔍 Core Logic
The strategy uses a combination of proven technical tools:
Price Action Patterns: Breakouts, rejections, and reversal zones
EMA Crossovers: Short- and long-term trend confirmation
Stochastic Oscillator: Identifies exhaustion and entry opportunities
MACD Histogram: Filters entries by confirming directional momentum
Dynamic SL/TP Logic: Each trade has an independent stop-loss and take-profit based on market conditions
Delayed Entry System: Prevents immediate re-entry after closing in the opposite direction
Smart Trailing Stop-Loss: Adjusts as price moves to secure gains
⚙️ Capital Allocation & Pyramiding
The strategy uses strategy.percent_of_equity = 100, but only ~10% margin is used per position
This leaves headroom for controlled pyramiding without risking full account exposure
🔁 Recommended Pyramiding Settings per Pair
Pair -Pyramiding
BTC - 6
ETH - 6
XRP - 8
DOT - 5
SOL - 7
🧪 Backtest Conditions
Commission: 0.1% per trade
Slippage: 3 ticks
Capital: realistic margin use per trade
Pair displayed in this publication: XRP
This pair is shown in the current backtest example due to platform limitations
The remaining pairs follow the same internal logic and backtest methodology, but are not visible in a single report
⚠️ Usage Instructions
To use this script for real-time alerts:
Open the Inputs tab and enable “Live Trading Mode”
Choose your desired pair from the dropdown — this will automatically apply the correct settings
The script is designed for lower timeframe markets and is optimized for high-activity, volatile periods
All logic is contained in a single script as required — no suite publishing or duplicated variations
Vortex Hunter X - Strategy (3-Min TF) | PEPE Signal (Binance)⚙️ Vortex Hunter X - Strategy (3-Min TF) | PEPE Signal (Binance)
This strategy is designed for analyzing the PEPE/USDT pair on Binance Futures within the TradingView platform, and can be used to execute trades on any exchange of your choice.
Each position has a fixed 4% profit target and a fixed 2% stop loss. These parameters are hard-coded and do not change dynamically. The risk-to-reward ratio is fixed at 1:2.
🔎 Non-Repainting Signals and Consistency Between Backtest and Live Trading
The signals generated by this strategy are completely non-repainting, meaning once a signal is issued, it will not be altered or modified later.
Backtesting results and live trading performance on TradingView are exactly consistent, demonstrating the high reliability of the strategy.
🔁 Note About Replay Mode on TradingView
When running the strategy in Replay mode on TradingView (historical playback of the chart), you may notice some differences compared to live or backtest results.
These differences arise due to the way data is processed in Replay mode and delays in how certain filters access past information.
✅ However, it is important to understand that these differences do not indicate any repainting of signals. In live and backtest modes, signals are generated exactly according to the strategy’s logic without any changes.
🔄 Important Recommendation for Proper Script Loading
Due to the use of complex filters, multi-stage processing, and sensitive conditions in the signal logic, sometimes the browser cache may cause the script not to load fully or precisely, or some components may load with delays.
This can lead to signals not displaying correctly or minor issues in the strategy’s performance.
✅ Therefore, it is strongly recommended to clear your browser cache or press Ctrl + F5 for a full refresh on the TradingView chart page before the first use and periodically (e.g., every few days).
This ensures the script loads freshly and completely from TradingView servers, enabling accurate and smooth strategy operation.
⚠️ Important Usage Notes:
🔸 This strategy is specifically designed and optimized only for the following conditions:
Symbol: PEPEUSDT
Exchange: BINANCE
Market: Futures
Timeframe: 3 minutes (3m)
🔸 For accurate signals, please ensure the strategy runs only on the PEPE/USDT Futures chart on Binance with a 3-minute timeframe in TradingView.
🔸 ⚠️ Note: For actual trading execution, you may use any exchange (e.g., Binance, Bybit, OKX, etc.), but analysis and strategy operation must be performed strictly within TradingView with the exact above settings.
Using the strategy on incorrect symbols, timeframes, or markets may result in invalid signals.
ℹ️ Strategy Naming:
Each strategy’s name clearly indicates the asset it is configured for.
For example:
Vortex Hunter X - Strategy (3-Min TF) | PEPE Signal (Binance) for PEPE
Vortex Hunter X - Strategy (3-Min TF) | SUI Signal (Binance) for SUI
Currently, the strategy is configured and optimized for only these two pairs:
PEPEUSDT (Binance Futures)
SUIUSDT (Binance Futures)
📌 Purchasing a single subscription grants you access to both strategies (PEPE and SUI).
📈 More assets will be added to this strategy in the future, and subscribers will gain access to new versions automatically.
✅ Summary of Settings:
🎯 Take Profit (TP): 4%
⛔ Stop Loss (SL): 2%
📊 Risk-to-Reward Ratio: 1:2
⏱️ Timeframe: 3 minutes
🧪 Target Market: PEPE Futures on Binance
📩 For access or support, contact:
Break and Retest High Probability StrategyWhat does the script Do:
Script uses Break and Retest strategy on Key Levels like PMH, PDH, PMH, PML and ORB levels. Based on the strength of the candle at these key levels a position is taken and based on Dynamic stop loss, we scale out of the position at key levels. Scale out can also happen based on the QQQ trend.
How it does it:
First the script identifies No Trade Zone - which is higher of PMH and PDH for Highest position of No Trade Zone, and lower of PML and PDL. Any trades within this doesnt take any Trade entries.
Entries are taken in only Regular Trading Hours.
Candle strength is constantly tracked for break out these levels and then wait for retest levels based on Volatality on that day with ATR levels. If it fails to come back to retest - it is ignored else at retest levels strength of the bar is tracked. Scaling out can be done based on various Input parameters given in the strategy. VWAP and 9 EMA is also tracked for taking an entry or not.
How to use it:
Make sure to use various parameters within Inputs like Candle Strength at vwap, QQQ confluence to tweak and see what works best for the time frame and stock.
In the Multi Time frame construct - if you are on 5min time frame the candle stregth can be tracked in lower time frame which can be 1, 2, 3 min etc. This is also configurable within the Inputs.
Make sure to use the levels and values displayed in the table to see real time data.
Also, You can just have the Long entry, Short Entry and Plot variables selected in Style section to declutter the chart. Feel free to reuse the chart
what makes it original.
Strategy Parameters
• Is representative of real world trading conditions.
Break and Retest at key levels while following various confluence set ups makes it completely real world and battle tested indicator. All the parameters used within Inputs and Style are completely known Market variables.
• Is compatible with the markets their strategy is written for.
This is best for doing scalping where momentum and volatality is the king.
• Produces realistic results.
Like any strategy nothing is 100% guaranteed. But the key is to monitor the Profit factor and exit at right positions even if it means lesser number of trades.
This strategy is tested against lot of Tech stocks like nvidia, tesla, amazon against QQQ confluence.
. to help traders interpret the results they publish with their strategy,
Please feel free to tweak the parameters to tweak the strategy and see what works best for the stock you are placing this indicator on.
I primarily take the default parameters of this strategy to do scalping. The Multitime frame restest ( which goes to lower timeframe to check the strength of bars - which is again configurable by Fixed Retest bars and Retest Time Frame. I would recommend you to use Enable candle pattern filter to further refine the trades to be high probability.
This is a high probability set up - so please dont expect many trades from each stock. The strategy only gets triggered when it sees valid signal as per parameters set on the strategy.
Buy Dip Multiple Positions🎯 Objective
This strategy aims to capture aggressive dip-buying opportunities during volume-confirmed price reversals in short term downtrending markets. It is optimized for multi-entry precision, adaptive stop management, and real-time trade monitoring.
It allows traders to execute multiple long entries and dynamically trail stops to maximize gains while capping risk. Designed with modular inputs, this strategy is ideal for intraday momentum scalping and swing trading alike.
🔧 How It Operates
The strategy triggers buy entries when three conditions align:
Reversal Candle: Current close < prior low × 0.998
Volume Confirmation: Current volume exceeds average of prior 2 bars × 1.2
Price Surge Threshold: Current close below user-defined % of close from N bars ago
Once a reversal candle is confirmed, the strategy:
Calculates position size based on user-defined risk parameters
Allows up to a max number of simultaneous trades
Trailing Stop kicks in 2 bars after entry, climbing by a user-defined % each bar
Exit occurs when price hits either the trailing stop or target price
🛠️ Inputs
Users can customize all major aspects of the strategy:
Max Simultaneous Trades: Default 20
Trailing Stop Increase per Bar (%): Default 1%
Initial Stop (% of Reversal Low): Default 85%
Target Price (% Above Reversal Low): Default 60%
Price Surge Threshold (% of Past Close): Default 89%
Surge Lookback Bars: Default 14
Show Active Trade Dot: Toggle to display green trade status dot
📊 Visual Overlays
The chart displays the following:
Marker Description
🟢 Green Dot Active trade (toggleable)
🔴 Red Dot Max trades reached
📈 Trailing Stop Applied internally but not plotted (can be added)
📊 Metrics Plots of win rate, winning/losing trade counts
📎 Notes
Strategy uses strategy.cash allocation logic
Entry size adapts to account equity and risk per trade
All parameters are accessible via the settings panel
Built entirely in Pine Script v5
This strategy balances flexibility and precision, giving traders control over entry timing, capital allocation, and stop behavior. Ideal for those looking to automate dip-buy setups with tactical overlays and visual alerts.
WaveSurfer StrategyThis is a quant trading strategy that can be used to automate your trading. The first thing you will see in the settings popup is blocks where text can be entered. You can enter your automated trading messages here that will be sent to your exchange or third party application. Check with them to identify exactly how the buy and sell text should be configured. Put this {{strategy.order.alert_message}} in the alert message box and it will pull the buy and sell text from these settings boxes.
This trading strategy is designed to trade cryptocurrencies on the 1 hour timeframe. Other timeframes can be used but this is where I have found success. It uses a fairly complex algorithm to determine Long Buy and Sell opportunities. Each assets settings need to be optimized using back testing due to differences in volatility, volume, and risk. I provide optimized settings for the coins I trade here . As with any trading strategy, no amount of gains can be guaranteed. There is always risk of taking losses. Do not trade more than you are willing to lose.
The backbone of the strategy uses Bollinger Bands to measure the market trend. Bollinger Band Width(BBW) moves in waves. Waves over 0.2 are considered strong movements. Bollinger Band Percent(BB%) is used to determine wave direction, Bullish or Bearish. The strategy calculates BBW Slope and it is critical in determining status of the Bullish or Bearish wave. For example, if a strong Bullish wave is above 0.2 and slope is positive, this means to hold as the wave continues to accumulate gains. When slope turns negative, it is a signal that the wave is ending and opens more opportunities for the strategy to sell. Under certain conditions the waves can be considered neutral, especially when BBW is under 0.2.
BBW waves are given a score -5 through 5. These scores are used throughout the strategy to determine which Buy and Sell limits to use. Here is what the scores mean:
0 = Neutral, 1->3 = Beginning of Bullish wave, 4 = Strong Bullish wave, 5 = End of Bullish wave
0 = Neutral, -1->-3 = Beginning of Bearish wave, -4 = Strong Bearish wave, -5 = End of Bearish wave
During each of these trends the strategy offers different buy and sell opportunities that can be configured in settings. Hull moving averages are used for determining Buy/Sell crossovers and the Phase of the trade. The Phase of a trade if telling the strategy which Sell limits to use to determine when to sell. Phase 1 represents Bearish trend sell limits, Phase 2 represents Neutral trend sell limits, and Phase 3 represents Bullish trend sell limits. For example, if a Buy is triggered during a Bear trend, the trade will start in Phase 1. As the price moves up to Neutral within the Bollinger Bands it will move to Phase 2 and sell limits will move up. If price continues to rise into Bullish BBW trend it will change to Phase 3 and use Sell limits that will allow price to grow while the wave remains bullish.
Bearish Buys: Bearish Buys are designed to buy at a low peak. It uses Bollinger Band Mid line slope(Generally below -0.3), BB% very low(Generally below 0.0), and the trigger is RSI crossing up around 25-30. There are three different types of Bear Buys but they are all slight variations of this same technique. Again, all these settings need to be optimized using back testing. A more volatile coin will drop lower and with more intensity than a more stable coin. All Bear Buys will start in phase 1 with tight stop loss limits to protect against further drops. If prices does not recover quickly and moves sideways the sell limit will adjust(typically moving up) with each low pivot(assuming it is still above the original low that triggered the buy). There are also emergency sell options that can be configured.
Neutral Buys: Neutral Buys trigger when the Hull Moving Average crosses above the Bollinger Bands mid-point, generally want to use around 0.6. There is an option to buy only when BBW is below 0.2, meaning weak trend/Neutral. Neutral Buys will start with Phase 3 Sell limits.
Bullish Buys: There are a few different Bullish Buy options but these can be risky due to false breakouts which can result in higher losses if price reverses and drops quickly. All Bullish Buys start with Phase 3 Sell limits. One type of Bullish Buy is Level breakout. The recent high is always calculated using the pivot function and is displayed on the screen with the thick red dotted line. If you are using the Level buy option it will buy when the price breaks above this high level for consecutive candles. But the best bullish Buy option is Cycle Buy Late. This will buy when cycle crosses above 2, into Bull trend 3 or 4.
These examples shows the gold sell line adjust during the pivot and the Phase changes. It maintains decent gain even as price fails to move up in Phase 3. The thin yellow line is a Cycle Sell option that sells during cycles 5(Wave ending) and 0(Neutral). All these limits can be adjusted in settings:
This example shows Phase 3 sell limits allowing price to grow. The thin yellow line is an additional sell line that is higher than standard sell in this example but only triggers when Cycle is 5(wave ending) or 0(Wave Neutral):
Divergence Strategy [Trendoscope®]🎲 Overview
The Divergence Strategy is a sophisticated TradingView strategy that enhances the Divergence Screener by adding automated trade signal generation, risk management, and trade visualization. It leverages the screener’s robust divergence detection to identify bullish, bearish, regular, and hidden divergences, then executes trades with precise entry, stop-loss, and take-profit levels. Designed for traders seeking automated trading solutions, this strategy offers customizable trade parameters and visual feedback to optimize performance across various markets and timeframes.
For core divergence detection features, including oscillator options, trend detection methods, zigzag pivot analysis, and visualization, refer to the Divergence Screener documentation. This description focuses on the strategy-specific enhancements for automated trading and risk management.
🎲 Strategy Features
🎯Automated Trade Signal Generation
Trade Direction Control : Restrict trades to long-only or short-only to align with market bias or strategy goals, preventing conflicting orders.
Divergence Type Selection : Choose to trade regular divergences (bullish/bearish), hidden divergences, or both, targeting reversals or trend continuations.
Entry Type Options :
Cautious : Enters conservatively at pivot points and exits quickly to minimize risk exposure.
Confident : Enters aggressively at the latest price and holds longer to capture larger moves.
Mixed : Combines conservative entries with delayed exits for a balanced approach.
Market vs. Stop Orders: Opt for market orders for instant execution or stop orders for precise price entry.
🎯 Enhanced Risk Management
Risk/Reward Ratio : Define a risk-reward ratio (default: 2.0) to set profit targets relative to stop-loss levels, ensuring consistent trade sizing.
Bracket Orders : Trades include entry, stop-loss, and take-profit levels calculated from divergence pivot points, tailored to the entry type and risk-reward settings.
Stop-Loss Placement : Stops are strategically set (e.g., at recent pivot or last price point) based on entry type, balancing risk and trade validity.
Order Cancellation : Optionally cancel pending orders when a divergence is broken (e.g., price moves past the pivot in the wrong direction), reducing invalid trades. This feature is toggleable for flexibility.
🎯 Trade Visualization
Target and Stop Boxes : Displays take-profit (lime) and stop-loss (orange) levels as boxes on the price chart, extending 10 bars forward for clear visibility.
Dynamic Trade Updates : Trade visualizations are added, updated, or removed as trades are executed, canceled, or invalidated, ensuring accurate feedback.
Overlay Integration : Trade levels overlay the price chart, complementing the screener’s oscillator-based divergence lines and labels.
🎯 Strategy Default Configuration
Capital and Sizing : Set initial capital (default: $1,000,000) and position size (default: 20% of equity) for realistic backtesting.
Pyramiding : Allows up to 4 concurrent trades, enabling multiple divergence-based entries in trending markets.
Commission and Margin : Accounts for commission (default: 0.01%) and margin (100% for long/short) to reflect trading costs.
Performance Optimization : Processes up to 5,000 bars dynamically, balancing historical analysis and real-time execution.
🎲 Inputs and Configuration
🎯Trade Settings
Direction : Select Long or Short (default: Long).
Divergence : Trade Regular, Hidden, or Both divergence types (default: Both).
Entry/Exit Type : Choose Cautious, Confident, or Mixed (default: Cautious).
Risk/Reward : Set the risk-reward ratio for profit targets (default: 2.0).
Use Market Order : Enable market orders for immediate entry (default: false, uses limit orders).
Cancel On Break : Cancel pending orders when divergence is broken (default: true).
🎯Inherited Settings
The strategy inherits all inputs from the Divergence Screener, including:
Oscillator Settings : Oscillator type (e.g., RSI, CCI), length, and external oscillator option.
Trend Settings : Trend detection method (Zigzag, MA Difference, External), MA type, and length.
Zigzag Settings : Zigzag length (fixed repaint = true).
🎲 Entry/Exit Types for Divergence Scenarios
The Divergence Strategy offers three Entry/Exit Type options—Cautious, Confident, and Mixed—which determine how trades are entered and exited based on divergence pivot points. This section explains how these settings apply to different divergence scenarios, with placeholders for screenshots to illustrate each case.
The divergence pattern forms after 3 pivots. The stop and entry levels are formed on one of these levels based on Entry/Exit types.
🎯Bullish Divergence (Reversal)
A bullish divergence occurs when price forms a lower low, but the oscillator forms a higher low, signaling a potential upward reversal.
💎 Cautious:
Entry : At the pivot high point for a conservative entry.
Exit : Stop-loss at the last pivot point (previous low that is higher than the current pivot low); take-profit at risk-reward ratio. Canceled if price breaks below the pivot (if Cancel On Break is enabled).
Behavior : Enters after confirmation and exits quickly to limit downside risk.
💎Confident:
Entry : At the last pivot low, (previous low which is higher than the current pivot low) for an aggressive entry.
Exit : Stop-loss at recent pivot low, which is the lowest point; take-profit at risk-reward ratio. Canceled if price breaks below the pivot. (lazy exit)
Behavior : Enters early to capture trend continuation, holding longer for gains.
💎Mixed:
Entry : At the pivot high point (conservative).
Exit : Stop-loss at the recent pivot point that has resulted in lower low (lazy exit). Canceled if price breaks below the pivot.
Behavior : Balances entry caution with extended holding for trend continuation.
🎯Bearish Divergence (Reversal)
A bearish divergence occurs when price forms a higher high, but the oscillator forms a lower high, indicating a potential downward reversal.
💎Cautious:
Entry : At the pivot low point (lower high) for a conservative short entry.
Exit : Stop-loss at the previous pivot high point (previous high); take-profit at risk-reward ratio. Canceled if price breaks above the pivot (if Cancel On Break is enabled).
Behavior : Enters conservatively and exits quickly to minimize risk.
💎Confident:
Entry : At the last price point (previous high) for an aggressive short entry.
Exit : Stop-loss at the pivot point; take-profit at risk-reward ratio. Canceled if price breaks above the pivot.
Behavior : Enters early to maximize trend continuation, holding longer.
💎Mixed:
Entry : At the previous piot high point (conservative).
Exit : Stop-loss at the last price point (delayed exit). Canceled if price breaks above the pivot.
Behavior : Combines conservative entry with extended holding for downtrend gains.
🎯Bullish Hidden Divergence (Continuation)
A bullish hidden divergence occurs when price forms a higher low, but the oscillator forms a lower low, suggesting uptrend continuation. In case of Hidden bullish divergence, b]Entry is always on the previous pivot high (unless it is a market order)
💎Cautious:
Exit : Stop-loss at the recent pivot low point (higher than previous pivot low); take-profit at risk-reward ratio. Canceled if price breaks below the pivot (if Cancel On Break is enabled).
Behavior : Enters after confirmation and exits quickly to limit downside risk.
💎Confident:
Exit : Stop-loss at previous pivot low, which is the lowest point; take-profit at risk-reward ratio. Canceled if price breaks below the pivot. (lazy exit)
Behavior : Enters early to capture trend continuation, holding longer for gains.
🎯Bearish Hidden Divergence (Continuation)
A bearish hidden divergence occurs when price forms a lower high, but the oscillator forms a higher high, suggesting downtrend continuation. In case of Hidden Bearish divergence, b]Entry is always on the previous pivot low (unless it is a market order)
💎Cautious:
Exit : Stop-loss at the latest pivot high point (which is a lower high); take-profit at risk-reward ratio. Canceled if price breaks above the pivot (if Cancel On Break is enabled).
Behavior : Enters conservatively and exits quickly to minimize risk.
💎Confident/Mixed:
Exit : Stop-loss at the previous pivot high point; take-profit at risk-reward ratio. Canceled if price breaks above the pivot.
Behavior : Uses the late exit point to hold longer.
🎲 Usage Instructions
🎯Add to Chart:
Add the Divergence Strategy to your TradingView chart.
The oscillator and divergence signals appear in a separate pane, with trade levels (target/stop boxes) overlaid on the price chart.
🎯Configure Settings:
Adjust trade settings (direction, divergence type, entry type, risk-reward, market orders, cancel on break).
Modify inherited Divergence Screener settings (oscillator, trend method, zigzag length) as needed.
Enable/disable alerts for divergence notifications.
🎯Interpret Signals:
Long Trades: Triggered on bullish or bullish hidden divergences (if allowed), shown with green/lime lines and labels.
Short Trades: Triggered on bearish or bearish hidden divergences (if allowed), shown with red/orange lines and labels.
Monitor lime (target) and orange (stop) boxes for trade levels.
Review strategy performance metrics (e.g., profit/loss, win rate) in the strategy tester.
🎯Backtest and Optimize:
Use TradingView’s strategy tester to evaluate performance on historical data.
Fine-tune risk-reward, entry type, position sizing, and cancellation settings to suit your market and timeframe.
For questions, suggestions, or support, contact Trendoscope via TradingView or official support channels. Stay tuned for updates and enhancements to the Divergence Strategy!
Strategi FVG 09:31 (Pro)FVG 09:31 Strategy (Pro)
In short, this is an automated trading strategy (bot) for TradingView designed to execute buy or sell orders based on a Fair Value Gap (FVG) pattern. The strategy is highly specific, as it only triggers on the 1-minute timeframe and looks for an FVG that forms precisely at 09:32 AM New York time.
Main Purpose of the Strategy
The primary goal of this script is to identify and capitalize on short-term price imbalances, known as Fair Value Gaps (FVGs). It operates during a specific, high-volatility window right after the U.S. stock market opens, often referred to by traders as the "Silver Bullet" session. By automating the detection and execution, it aims to trade these fleeting opportunities with precision.
How the Strategy Works
The strategy follows a clear, step-by-step logical flow on your chart.
1. Time & Timeframe Restriction
1-Minute Timeframe: The strategy is hard-coded to work only on the 1-minute (1m) chart. A warning label will appear on your chart if you apply it to any other timeframe.
Specific Time Window: The core logic activates only between 09:32 and 09:33 AM New York time. It searches for an FVG pattern formed by the three candles from 09:29, 09:30, and 09:31, with the pattern confirmation happening on the close of the 09:31 candle.
2. Fair Value Gap (FVG) Detection
An FVG is a three-candle pattern that signals a price imbalance.
Bullish FVG (Potential Buy): Occurs when the low of the first candle is higher than the high of the third candle. The space between these two prices is the FVG zone.
Bearish FVG (Potential Sell): Occurs when the high of the first candle is lower than the low of the third candle. The space between these two prices is the FVG zone.
If this pattern is detected at the target time, the strategy draws a colored box on the chart to visualize the FVG zone (aqua for bullish, fuchsia for bearish).
3. Entry Logic
The strategy provides two user-selectable methods for entering a trade:
Retracement (Immediate Entry): The strategy will open a position with a market order as soon as the price retraces back into the identified FVG zone.
For a Bullish FVG, a Long (buy) position is opened when the price drops to touch the upper boundary of the FVG.
For a Bearish FVG, a Short (sell) position is opened when the price rises to touch the lower boundary of the FVG.
Limit Order (Pending Entry): The strategy places a pending limit order at the edge of the FVG zone.
For a Bullish FVG, a Buy Limit order is placed at the upper boundary of the FVG.
For a Bearish FVG, a Sell Limit order is placed at the lower boundary of the FVG.
Order Expiration: If the limit order is not filled within a specified number of candles (default is 15), it is automatically canceled to avoid chasing a stale setup.
4. Exit Logic
Once a position is active, the strategy automatically manages the exit by setting a Take Profit (TP) and Stop Loss (SL) level. You can choose between two types:
Ticks (Fixed Points): You define a fixed profit target and loss limit in ticks (the smallest price movement). For example, a 200-tick TP and a 100-tick SL.
Last Swing (Dynamic Levels): The TP and SL are set dynamically based on the most recent swing high or swing low.
For a Long position: Take Profit is set at the last swing high; Stop Loss is at the last swing low.
For a Short position: Take Profit is set at the last swing low; Stop Loss is at the last swing high.
5. Daily Management
At the start of each new trading day, the script performs a reset. All variables, including any FVG data from the previous day, are cleared. This ensures the strategy only acts on fresh signals from the current day and cancels any pending orders from the day before.
Explanation of Settings (Inputs)
Here is what each user-configurable setting does:
Entry Type: Choose your preferred entry method: Retracement or Limit Order.
Order Expiration (Candles): Applies only to the Limit Order type. Sets how many candles an unfilled order will remain active before being canceled.
Stop Loss Type: Choose Ticks for a fixed-distance stop loss or Last Swing for a dynamic level.
Take Profit Type: Choose Ticks for a fixed-distance profit target or Last Swing for a dynamic level.
Pivot Lookback (SL/TP Swing): Defines how many candles the script looks back to identify the most recent swing high/low for the Last Swing SL/TP type.
Contract Size: The quantity or lot size for each trade.
Take Profit (in Ticks): The profit target distance if using the Ticks type.
Stop Loss (in Ticks): The maximum loss distance if using the Ticks type.